/**
 * Created by zhangpeng on 2016/8/16.
 */
app.factory('BlackListService', ['$resource', function($resource) {
    return $resource('/GMS/blackList/:id/:action', {
            id:'@id',
            action : '@action'
        },{
            getAllBlackListByCondition : {
                method : 'GET',
                isArray : false
            },
            getBGSUsers : {
                method : 'GET',
                isArray : true
            },
            updateBlackList : {
                method : 'PUT',
                isArray : false
            },
            push : {
                method : 'GET',
                isArray : false
            },
            findByGWUserId : {
                method : 'GET',
                isArray : false
            }
        }
    );
}]);
